UTIL Interface to the Zigbee Network Processor (e.g. CC2530ZNP). More...
#include "znp_util_interface.h"#include "znp_commands.h"#include "znp_interface_spi.h"#include "../Common/utilities.h"Defines | |
| #define | UTIL_ADDRMGR_NWK_ADDR_LOOKUP_PAYLOAD_LEN 2 |
Functions | |
| unsigned char * | znpGetMacForShort (unsigned int shortAddress) |
Variables | |
| unsigned char | znpBuf [100] |
UTIL Interface to the Zigbee Network Processor (e.g. CC2530ZNP).
Refer to interface spec for more information
Requires one physical interface file to be included, znp_interface_spi.h
YOU ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
| unsigned char* znpGetMacForShort | ( | unsigned int | shortAddress | ) |
Uses the UTIL interface to get the long address of a device based on its short address. The device to lookup must either be a parent or child of the ZNP, or have established a binding or application link key.
| shortAddress | the shortAddress to lookup |
| unsigned char znpBuf[100] |
This buffer will hold the transmitted messages and received SRSP Payload after sendMessage() was called.
1.6.3